package com.syt.service.dao;

import com.syt.service.pojo.PhoneRecommend;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PhoneRecommendMapper {
    int deleteByPrimaryKey(Integer recommendId);

    int insert(PhoneRecommend record);

    int insertSelective(PhoneRecommend record);

    PhoneRecommend selectByPrimaryKey(Integer recommendId);

    int updateByPrimaryKeySelective(PhoneRecommend record);

    int updateByPrimaryKey(PhoneRecommend record);

    /**
     * 获取所有推荐列表数据
     * @return
     */
    List<PhoneRecommend> getList();
}